package com.ibm.sc.osp.sample.domain.entity;

import com.ibm.sc.osp.common.persistence.VersionEntity;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Table(name = "pf_model", schema = "sample")
public class PfModel extends VersionEntity {
    private String status;
    private String templateName;
    private String createUserNo;
    private String checkUserNo;
    private String templatType;
    private String sendMethod;
    private String applicableScope;
    private String context;
    private String sendTime;
    private Integer sendLevel;
    private String sendDate;
    
    @Basic
    @Column(name = "status", nullable = true, length = 64)
    public String getStatus() {
        return status;
    }
    
    public void setStatus(String status) {
        this.status = status;
    }
    
    @Basic
    @Column(name = "template_name", nullable = true, length = 64)
    public String getTemplateName() {
        return templateName;
    }
    
    public void setTemplateName(String templateName) {
        this.templateName = templateName;
    }
    
    @Basic
    @Column(name = "create_user_no", nullable = true, length = 64)
    public String getCreateUserNo() {
        return createUserNo;
    }
    
    public void setCreateUserNo(String createUserNo) {
        this.createUserNo = createUserNo;
    }
    
    @Basic
    @Column(name = "check_user_no", nullable = true, length = 64)
    public String getCheckUserNo() {
        return checkUserNo;
    }
    
    public void setCheckUserNo(String checkUserNo) {
        this.checkUserNo = checkUserNo;
    }
    
    @Basic
    @Column(name = "templat_type", nullable = true, length = 64)
    public String getTemplatType() {
        return templatType;
    }
    
    public void setTemplatType(String templatType) {
        this.templatType = templatType;
    }
    
    @Basic
    @Column(name = "send_method", nullable = true, length = 64)
    public String getSendMethod() {
        return sendMethod;
    }
    
    public void setSendMethod(String sendMethod) {
        this.sendMethod = sendMethod;
    }
    
    @Basic
    @Column(name = "applicable_scope", nullable = true, length = 64)
    public String getApplicableScope() {
        return applicableScope;
    }
    
    public void setApplicableScope(String applicableScope) {
        this.applicableScope = applicableScope;
    }
    
    @Basic
    @Column(name = "context", nullable = true, length = -1)
    public String getContext() {
        return context;
    }
    
    public void setContext(String context) {
        this.context = context;
    }
    
    @Basic
    @Column(name = "send_time", nullable = true, length = 50)
    public String getSendTime() {
        return sendTime;
    }
    
    public void setSendTime(String sendTime) {
        this.sendTime = sendTime;
    }
    
    @Basic
    @Column(name = "send_level", nullable = true)
    public Integer getSendLevel() {
        return sendLevel;
    }
    
    public void setSendLevel(Integer sendLevel) {
        this.sendLevel = sendLevel;
    }
    
    @Basic
    @Column(name = "send_date", nullable = true, length = 50)
    public String getSendDate() {
        return sendDate;
    }
    
    public void setSendDate(String sendDate) {
        this.sendDate = sendDate;
    }
    
    @Override
    public Date getUpdatedDate() {
        return super.getUpdatedDate();
    }
}
